package com.itheima.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("attendanceconfig")
public class AttendanceConfig implements Serializable {
    private static final long serialVersionUID=1L;
    @TableId(type= IdType.AUTO)
    private Integer id; //ID
    private String morningStartTime; //上班时间
    private String afternoonEndTime; //下班时间
    private String dedTypeCode; //扣款类型:1,2,3扣款类型，1：迟到扣款，2：早退扣钱，3：旷工扣钱
    private Integer isEnable; //是否可用 1开启 0 关闭
    private String name; //对应扣款类型的名称
    private String periodLowerLimit; //迟到时间段下限
    private String periodUpperLimit; //迟到时间段上限
    private String dedPeriodLower; //扣款金额下限
    private String dedPeriodUpper; //扣款金额上限
    private String dedAbsence; //旷工罚款
    private String attendceBonus; //全勤奖金额
}
